<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!-- 取出部署的应用程序名或者是当前的项目名称 -->
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<html lang="zh-CN" class="no-js">
<head>
    <meta charset="UTF-8">
    <title>重置密码</title>

    <%@include file="/WEB-INF/jsp/common/component/head.jsp"%>
</head>

<body>
<%@include file="/WEB-INF/jsp/common/component/navbar.jsp"%>

<div id="left">
    <%@include file="/WEB-INF/jsp/common/component/userMessage.jsp"%>
    <%@include file="/WEB-INF/jsp/common/component/menu.jsp"%>
</div><!-- /#left -->

<div id="wrap">
    <div class="content" >
        <div class="inner">
            <form id="updateForm" class="form-horizontal" role="form">
                <div class="form-group">                                                                               <!--页头-->
                    <div class="col-sm-12 ">
                        <div class="page-header">
                            <h1>重置密码</h1>
                        </div>
                    </div>
                </div>

                <input type="hidden" value="${id}" id="id">

                <div class="form-group">
                    <label for="password" class="col-sm-4 control-label">新密码</label>
                    <div class=" col-sm-3">
                        <input type="password" class="form-control" id="password" name="password">
                    </div>
                    <div class="col-sm-1">
                        <label>
                            <span class="label label-danger" >*</span>
                        </label>
                    </div>
                    <div class="col-sm-1">
                        <label>
                            <span class="label label-warning" ></span>
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <label for="confirmPassword" class="col-sm-4 control-label">确认新密码</label>
                    <div class=" col-sm-3">
                        <input type="password" class="form-control" id="confirmPassword" name="confirmPassword">
                    </div>
                    <div class="col-sm-1">
                        <label>
                            <span class="label label-danger" >*</span>
                        </label>
                    </div>
                    <div class="col-sm-1">
                        <label>
                            <span class="label label-warning" ></span>
                        </label>
                    </div>
                </div>

                <br/>
                <br/>
                <div class="form-group">
                    <div class="col-sm-offset-4 col-sm-3">
                        <!-- btn-block 指定按钮和父元素一样大 -->
                        <button type="submit" class="btn btn-info btn-lg">重置</button>
                        <button type="button" class="btn btn-info btn-lg col-sm-offset-3" onclick="window.history.back()">返回</button>
                    </div>
                </div>
            </form>
            <br/>
            <br/>
        </div>
    </div><!-- /#content -->
    <%@include file="/WEB-INF/jsp/common/component/footer.jsp"%>
</div><!-- /#wrap -->
<%@include file="/WEB-INF/jsp/common/component/foot.jsp"%>

<script src="${ctx}/assets/js/admin/admin/resetPassword.js"></script>
</body>

</html>